package com.isale.web.sys.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by baijs on 2016/11/24.
 */
@Controller
@RequestMapping("/sys/shop/")
public class ShopController {
    private static final Log logger = LogFactory.getLog(ShopController.class);

    @RequestMapping("index.html")
    public String index() {
        return "sys/shop/index";
    }

    @RequestMapping("add.html")
    public String add() {
        return "sys/shop/add";
    }

    @RequestMapping("edit.html")
    public String edit() {
        return "sys/shop/edit";
    }

    @RequestMapping("cat/index.html")
    public String catIndex() {
        return "sys/shop_cat/index";
    }

    @RequestMapping("cat/add.html")
    public String catAdd() {
        return "sys/shop_cat/add";
    }

    @RequestMapping("cat/edit.html")
    public String catEdit() {
        return "sys/shop_cat/edit";
    }
}
